package com.thkj.modules.home.service.impl;

import org.springframework.stereotype.Service;

import com.thkj.modules.home.service.HomeService;

import dp.service.BaseService;

@Service
public class HomeServiceImpl extends BaseService implements HomeService {

	@Override
	public void updateAccessNum() {
		dao.queryForObject("com.thkj.mapper.TblHome.updateAccessNum", 1, Integer.class);
	}

	@Override
	public Integer queryAccessCount() {
		return dao.queryForObject("com.thkj.mapper.TblHome.queryAccessNum", 1, Integer.class);
	}
}